Remove static forward declaration in gdbstub code.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 26 Sep 2006 07:34:52 +0000 (08:34 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 26 Sep 2006 07:34:52 +0000 (08:34 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/common/gdbstub.c

index 257547ed19d1e04a4be7ee29f1582dfd2feb5a9a..708357c56a5feace2125d81c6df5411952d01069 100644 (file)
@@ -53,6 +53,8 @@
 static char opt_gdb[30] = "none";
 string_param("gdb", opt_gdb);
 
+static void gdbstub_console_puts(const char *str);
+
 /* value <-> char (de)serialzers */
 char
 hex2char(unsigned long x)
@@ -360,7 +362,6 @@ gdb_cmd_write_mem(unsigned long addr, unsigned long length,
 static void
 gdbstub_attach(struct gdb_context *ctx)
 {
-    static void gdbstub_console_puts(const char *str);
     if ( ctx->currently_attached )
         return;    
     ctx->currently_attached = 1;